//
// Created by 11510 on 2024/7/18.
//

#ifndef DAY80_DEMO2_CUSTOMBUTTONB_H
#define DAY80_DEMO2_CUSTOMBUTTONB_H

#include <QPushButton>

class CustomButtonB : public QPushButton {
Q_OBJECT

public:
    CustomButtonB(QWidget *parent = nullptr) : QPushButton(parent) {}

public slots:

    void updatePosition(int x, int y) {
        move(10 * x + 400, 10 * y + 150);
    }
};


#endif //DAY80_DEMO2_CUSTOMBUTTONB_H
